package study.d_09;

public class Value1 {
    public static void main(String[] args) {
        //打印整数
        System.out.println(666);
        System.out.println(-35);
        //打印小数
        System.out.println(1.34);
        System.out.println(-3.71);
        //字符串
        System.out.println("呵呵");
        System.out.println("the best");
        //字符
        System.out.println('男');
        //布尔
        System.out.println(true);
        System.out.println(false);
        //空
        //null不能直接打印,只能用字符串打印
        System.out.println("null");

        //制表符'\t',idea 补4的倍数,cmd补6的倍数
        System.out.println("name"+"age");
        System.out.println("Tom"+"23");
        System.out.println("name"+'\t'+"age");
        System.out.println("Tom"+'\t'+'\t'+"23");
        //变量
        int a=19;
        int b=20;
        System.out.println(a);
        System.out.println(a+b);
        a=1;
        System.out.println(a);

        System.out.println("-----------");
        //一条语句可以定义多个变量
        int c=110,d=34,e=56;
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);

    }
}
